{include file=header.html}
<script type="text/javascript">
	$(function(){
		$('.payment-list .defray dd label').click(function(){
			$('.payment-list .defray dd label').removeClass('selected');
			$(this).addClass('selected');
		})
	})
</script>
<div id="page-cashier">
	<div class="page-main mt10">
		<form action="{url app=cashier&act=goto_pay&order_id=$order.order_id}" method="POST" id="goto_pay">
			<div class="success-anounce">
				<div class="anounce-txt">
					<h4  class="mt10 mb10"><ins class="psmb-icon-font mr5" style="font-size:1.5rem;">&#xe657;</ins>{$lang.order_created}</h4>
					<h3>{$lang.order_sn}&nbsp;:&nbsp;{$order.order_sn}<br />{$lang.order_amount}&nbsp;:&nbsp;{$order.order_amount|price}</h3>
					<p>{$lang.member_view_order}</p>
				</div>
			</div>
			<div class="payment-list pt10 pl10 pr10">
				<h3>{$lang.select_payment}</h3>
				<dl class="defray">
					<!--{foreach from=$payments.online item=payment name=fe_payment}-->
					<dd>
						<label for="payment_{$payment.payment_code}" {if $smarty.foreach.fe_payment.last}style="border-bottom:0px;"{/if} {if $smarty.foreach.fe_payment.first}class="selected"{/if}>
                        	<ins class="psmb-icon-font yes">&#xe75b;</ins>
                            <ins class="psmb-icon-font no">&#xe6d7;</ins>
							<input id="payment_{$payment.payment_code}" type="radio" name="payment_id" value="{$payment.payment_id}" {if $smarty.foreach.fe_payment.first} checked="checked"{/if} />
							<img src="{$site_url}/includes/payments/{$payment.payment_code}/logo.gif" width="125" height="47" style="vertical-align:middle" />
						</label>
					</dd>
					<!--{/foreach}-->
				</dl>
			</div>
			<div class="mt20 ml10 mr10">
				<p> <a href="javascript:$('#goto_pay').submit();" class="btn-alipay btn-alipay-red">{$lang.confirm_pay}</a> </p>
			</div>
		</form>
	</div>
</div>
{include file=footer.html}